<?php
$this->breadcrumbs=array(
	'Images'=>array('index', 'gallery'=>$model->gal_code),
	$model->img_code,
);

$this->menu=array(
	array('label'=>'List Image', 'url'=>array('index', 'gallery'=>$model->gal_code)),
	array('label'=>'Create Image', 'url'=>array('create', 'gallery'=>$model->gal_code)),
	array('label'=>'Update Image', 'url'=>array('update', 'id'=>$model->img_code)),
	array('label'=>'Delete Image', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->img_code),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage Image', 'url'=>array('admin', 'gallery'=>$model->gal_code)),
);
?>

<h1>View Image #<?php echo $model->img_code; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'img_code',
		'img_name',
		'img_date',
		'gal_code',
	),
)); ?>
